﻿//////////////////////////////////////////////////////////////////////////////
//
//  Copyright © 1998-2024 Glodon Company Limited.  All rights reserved.
//
//  Use of this software is subject to the terms of the Glodon license
//  agreement provided at the time of installation or download, or which
//  otherwise accompanies this software in either electronic or hard copy form.  
//
//////////////////////////////////////////////////////////////////////////////


#pragma once        
#include "GmFamilyService.h"

namespace gfam
{
    ///\brief 约束对象引用类型
    enum class FamilyConstraintReferenceType : int32_t
    {
        Self,               ///<几何本身
        Start,              ///<起点
        End,                ///<末点
        Center,             ///<圆心
        Radius,             ///<半径
        Origin,             ///<平面原点
        Normal,             ///<平面法向
        Direction,          ///<直线方向或椭圆长轴方向
        MajorLength,        ///<椭圆长轴长度
        MinorLength,        ///<椭圆短轴长度
        LineLength,         ///<直线段长度
        SencondPoint,       ///<样条曲线第二个控制点
        SecondToLastPoint,  ///<样条曲线倒数第二个控制点
    };
}